package corp.edu.amadeus.core.business.service.ifc;

import corp.edu.amadeus.core.business.object.impl.TextBO;
import java.util.Collection;

public interface ITextService {

	public void addText(TextBO text);

	public void addText(String text, String lang);

	public void updateText(TextBO text);

	public void updateText(int textId, String text,
			String lang) throws Exception;

	public void deleteText(int textId) throws Exception;

	public Collection<TextBO> getAllTexts();

	public TextBO getText(int textId) throws Exception ;

}